<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>教师活动管理系统-登录页面 </title>
    <!-- Bootstrap -->
    <link th:href="@{/vendors/bootstrap/dist/css/bootstrap.min.css}" rel="stylesheet">
    <!-- Font Awesome -->
    <link th:href="@{/vendors/font-awesome/css/font-awesome.min.css}" rel="stylesheet">
    <!-- NProgress -->
    <link th:href="@{/vendors/nprogress/nprogress.css}" rel="stylesheet">
    <!-- Animate.css -->
    <link th:href="@{/vendors/animate.css/animate.min.css}" rel="stylesheet">
    <!-- Custom Theme Style -->
    <link th:href="@{/build/css/custom.min.css}" rel="stylesheet">
</head>
<body class="login">
<div>
    <a class="hiddenanchor" id="signup"></a>
    <a class="hiddenanchor" id="signin"></a>
    <div class="login_wrapper">
        <div class="animate form login_form">
            <section class="login_content">
                <form action="/user/login" method="post">
                    <h1>登录</h1>
                    <h2 style="color: red">[[${login_msg}]]</h2>
                    <div>
                        <input name="loginName" type="text" class="form-control" placeholder="登录名" required=""/>
                    </div>
                    <div>
                        <input name="password" type="password" class="form-control" placeholder="密码" required=""/>
                    </div>
                    <div>
                        <button class="btn btn-success submit" >登录</button>
                    </div>
                    <div class="clearfix"></div>
                    <div class="separator">
<!--                        <p class="change_link">-->
<!--                            <a class="reset_pass" href="#">忘记密码?</a>-->
<!--                        </p>-->
                        <p class="change_link">没有账号 ?
                            <a class="to_register" href="/register" > 新建账号 </a>
                        </p>
                        <div class="clearfix"></div>
                        <br/>
                    </div>
                </form>
            </section>
        </div>
<!--        <div id="register" class="animate form registration_form">-->
<!--            <section class="login_content">-->
<!--                <form>-->
<!--                    <h1>创建账号</h1>-->
<!--                    <h2 style="color: red"></h2>-->
<!--                    <div>-->
<!--                        <input name="loginName" type="text" class="form-control" placeholder="用户名" required=""/>-->
<!--                    </div>-->
<!--                    <div>-->
<!--                        <input name="email" type="email" class="form-control" placeholder="邮箱" required=""/>-->
<!--                    </div>-->
<!--                    <div>-->
<!--                        <input name="password" type="password" class="form-control" placeholder="密码" required=""/>-->
<!--                    </div>-->
<!--                    <div>-->
<!--                        <button class="btn btn-default submit" >提交</button>-->
<!--                    </div>-->
<!--                    <div class="clearfix"></div>-->
<!--                    <div class="separator">-->
<!--                        <p class="change_link">已经有账号了 ?-->
<!--                            <a href="#signin" class="to_register"> 登录 </a>-->
<!--                        </p>-->
<!--                        <div class="clearfix"></div>-->
<!--                        <br/>-->
<!--                    </div>-->
<!--                </form>-->
<!--            </section>-->
<!--        </div>-->
    </div>
</div>
</body>
</html>
